package com.briup.jd2511.web03.entity;

import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.*;

@Data
public class Emp implements Serializable {
    @Serial
    private static final long serialVersionUID=1L;
    private Integer id;
    private String username;
    private String password;
    private String name;
    private Short gender;
    private String genderStr; // 1: 男, 2: 女
    private String image;
    private Short job;
    private String jobStr; // 1: 讲师, 2: 班主任 , 3: 就业指导
    private LocalDate entryDate; //LocalDate类型对应数据表中的date类型
    private Integer deptId;
    private LocalDateTime createTime;//LocalDateTime类型对应数据表中的datetime类型
    private LocalDateTime updateTime;
}
